package com.bbz.core.lambda.java8.Chapter_8_Refactoring;

/**
 * lambda 方式实现模板方式
 */
public class testOnlineBank {
    public static void main(String args[]) {
        String aa="zz";
        new OnlineBankingLambda().processCustomer(111,c->System.out.println(aa));
        new OnlineBankingLambda().processPredicate(
                "张三",
                s->s.equals("张三"),
                c->System.out.println("张思"));
    }
}
